package com.ahs.mapper;

import com.ahs.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author riven zhang
 * @since 2021-04-27
 */
public interface UserMapper extends BaseMapper<User> {

    List<User> getAllName();

    int subtractAge(@Param("num") int num);
}
